﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/PowerTriggersWcf" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/PowerTriggersWcf" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:import namespace="http://PWTWcf" />
  <xs:complexType name="ConfigData">
    <xs:sequence>
      <xs:element xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="DefaultTaskProperties" nillable="true" type="q1:ArrayOfKeyValueOfTaskTypesArrayOfTaskPropertyhLmc1YHK" />
      <xs:element xmlns:q2="http://PWTWcf" minOccurs="0" name="ResumeTasks" nillable="true" type="q2:ArrayOfTask" />
      <xs:element xmlns:q3="http://PWTWcf" minOccurs="0" name="SuspendTasks" nillable="true" type="q3:ArrayOfTask" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ConfigData" nillable="true" type="tns:ConfigData" />
  <xs:complexType name="HistoryData">
    <xs:sequence>
      <xs:element minOccurs="0" name="History" nillable="true" type="tns:ArrayOfHistoryHeader" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="HistoryData" nillable="true" type="tns:HistoryData" />
  <xs:complexType name="ArrayOfHistoryHeader">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="HistoryHeader" nillable="true" type="tns:HistoryHeader" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfHistoryHeader" nillable="true" type="tns:ArrayOfHistoryHeader" />
  <xs:complexType name="HistoryHeader">
    <xs:sequence>
      <xs:element minOccurs="0" name="DateTime" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Details" nillable="true" type="tns:ArrayOfHistoryDetail" />
      <xs:element xmlns:q4="http://PWTWcf" minOccurs="0" name="Severity" type="q4:HistorySeverityLevels" />
      <xs:element minOccurs="0" name="Text" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="HistoryHeader" nillable="true" type="tns:HistoryHeader" />
  <xs:complexType name="ArrayOfHistoryDetail">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="HistoryDetail" nillable="true" type="tns:HistoryDetail" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfHistoryDetail" nillable="true" type="tns:ArrayOfHistoryDetail" />
  <xs:complexType name="HistoryDetail">
    <xs:sequence>
      <xs:element minOccurs="0" name="DateTime" type="xs:dateTime" />
      <xs:element xmlns:q5="http://PWTWcf" minOccurs="0" name="Severity" type="q5:HistorySeverityLevels" />
      <xs:element minOccurs="0" name="Text" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="HistoryDetail" nillable="true" type="tns:HistoryDetail" />
</xs:schema>